package com.yxs.wechatdemo.service;

/**
 * Created by Administrator on 2018/10/10 0010.
 */
public interface RedisService {

    String TOKEN_PREFIX = "token_%s";

    /**
     * 过期时间2小时
     */
    Integer EXPIRE = 7200;

    String setRedis(String value);

    void setRedis(String key, String value);

    String getRedis(String key);
}
